package cn.fraudmetrix.octopus.modules.jacoco.entity;

import java.util.Date;

/**
 * @author libao.zheng
 * @email libao.zheng@tongdun.cn
 * @date 2018/12/7 10:26
 */
public class JacocoEntity {
    /**
     * 应用id
     */
    private Integer appId;
    /**
     * 应用名
     */
    private String appName;
    /**
     * 配置文件名称
     */
    private String profileName;
    /**
     * 编译命令
     */
    private String compileCmd;
    /**
     * 源代码路径
     */
    private String sourceDirectory;
    /**
     * 字节码路径
     */
    private String classesDirectory;
    /**
     * git地址
     */
    private String appGit;
    /**
     * 统计覆盖率的分支
     */
    private String appBranch;
    /**
     * jacoco agent ip
     */
    private String appIp;
    /**
     * jacoco agent port
     */
    private Integer appPort;
    /**
     * 是否清除历史覆盖率数据
     */
    private boolean clearHistory;

    /**
     * 是否增量
     */
    private boolean incremental;

    /**
     * 更新时间
     */
    private Date updateTime;

    public JacocoEntity(String appName) {
        this.appName = appName;
    }

    public JacocoEntity() {
    }

    public Integer getAppId() {
        return appId;
    }

    public void setAppId(Integer appId) {
        this.appId = appId;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getProfileName() {
        return profileName;
    }

    public void setProfileName(String profileName) {
        this.profileName = profileName;
    }

    public String getCompileCmd() {
        return compileCmd;
    }

    public void setCompileCmd(String compileCmd) {
        this.compileCmd = compileCmd;
    }

    public String getSourceDirectory() {
        return sourceDirectory;
    }

    public void setSourceDirectory(String sourceDirectory) {
        this.sourceDirectory = sourceDirectory;
    }

    public String getClassesDirectory() {
        return classesDirectory;
    }

    public void setClassesDirectory(String classesDirectory) {
        this.classesDirectory = classesDirectory;
    }

    public String getAppGit() {
        return appGit;
    }

    public void setAppGit(String appGit) {
        this.appGit = appGit;
    }

    public String getAppBranch() {
        return appBranch;
    }

    public void setAppBranch(String appBranch) {
        this.appBranch = appBranch;
    }

    public String getAppIp() {
        return appIp;
    }

    public void setAppIp(String appIp) {
        this.appIp = appIp;
    }

    public Integer getAppPort() {
        return appPort;
    }

    public void setAppPort(Integer appPort) {
        this.appPort = appPort;
    }

    public boolean isClearHistory() {
        return clearHistory;
    }

    public void setClearHistory(boolean clearHistory) {
        this.clearHistory = clearHistory;
    }

    public boolean isIncremental() {
        return incremental;
    }

    public void setIncremental(boolean incremental) {
        this.incremental = incremental;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
